package main;

import managers.ConnectionManager;
import managers.DBManager;
import data.Lista;
import data.Utilizador;
import db.DBConnection;

public class Server {
	private DBConnection dbConnection;
	private DBManager dbManager;
	private ConnectionManager connectionManager;

	public Server() {
		dbConnection = new DBConnection();
		dbConnection.connect();
		dbManager = new DBManager(dbConnection.getConnection());
		connectionManager = new ConnectionManager(dbManager);
		connectionManager.establishConnection();
	}

	public static void main(String[] args) {
		new Server();
	}
}
